package com.zyy.fund.service.impl;

import com.google.common.collect.Lists;
import com.zyy.api.pojo.LabelInfo;
import com.zyy.api.pojo.LabelNewsInfo;
import com.zyy.fund.service.FundService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *@author zhangyangyang
 *@createTime 2023414 17:08
 *@description 基金打标接口
 */

@Service
@Slf4j
public class FundServiceImpl implements FundService {
    @Override public List<LabelInfo> analysisLabel(LabelNewsInfo info) {
        return Lists.newArrayList(LabelInfo.builder().code("000001.fund")
            .highlight(true)
            .id(100L)
            .name("测试基金")
            .relevance(0.1)
            .type(4)
            .build());
    }
}
